﻿using AutoMapper;
using B.S.BasicData.Api.Read.Dtos;
using B.S.BasicData.Domain.Entities;

namespace B.S.BasicData.Api.Read
{
    public class AutoMapperProfile:Profile
    {
        public AutoMapperProfile() {
            CreateMap<LogDto,LogModel>().ReverseMap();
            CreateMap<DepartmentDto,DepartmentModel>().ReverseMap();
            CreateMap<AreaTreeDto,AreaModel>().ReverseMap();
        }
    }
}
